package com.xiaouyudeguang.common.entity;

import lombok.Getter;
import lombok.Setter;
import org.springframework.security.oauth2.provider.client.BaseClientDetails;

import java.util.Set;

@Setter
@Getter
public class ClientDetailsEntity extends BaseClientDetails {

    private String id;

    private String secret;

    private Set<String> authorizedGrantTypes;

    private Set<String> registeredRedirectUri;

    private Integer accessTokenValiditySeconds;

    private Integer refreshTokenValiditySeconds;

    private Set<String> scope;

    private Set<String> resourceIds;

}
